package com.foreknow.dao;

import com.foreknow.model.Admin;

import java.sql.SQLException;

public interface AdminDAO {
    /**
     * 登录
     * @param username
     * @param password
     * @return
     * @throws SQLException
     */
    public Admin isCheckLogin(String username,String password) throws SQLException;


    /**
     * 根据账户查询信息
     * @param username
     * @return
     */
    public boolean getUsernmaeByUser(String username)throws  SQLException;
}
